<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<!--选择一个-->
<!--input绑定label-->
<div id="app">
  <select name="abv" id="" v-model="fruit">
    <option>苹果</option>
    <option>大梨</option>
    <option>香蕉</option>
    <option>榴莲</option>
    <option>葡萄</option>
  </select>
  <h2>{{fruit}}</h2>
  <select name="abv" v-model="vegetable" multiple>
    <option>青菜</option>
    <option>白菜</option>
    <option>萝卜</option>
    <option>生菜</option>
    <option>土豆</option>
  </select>
  <h2>{{vegetable}}</h2>
</div>
<script src="../js/vue.js"></script>
<script>
    const app = new Vue({
      el: '#app',
      data: {
        fruit: "苹果",
        vegetable: []
      }
    })
</script>
</body>
</html>
